from pydantic import BaseModel, Field

from src.utils.response import ResponseModel

class HealthCheckData(BaseModel):
    """健康检查数据模型"""
    status: str = Field(default="ok", description="服务状态")
    version: str = Field(default="1.0", description="API版本")
    timestamp: int = Field(default=None,description="当前时间戳")

class HealthCheckResponse(ResponseModel[HealthCheckData]):
    """健康检查响应模型"""
    pass